<?php

/**
 * @author Grover Campos
 * @version 1.0
 * @created 03-ago-2009 06:43:07 p.m.
 */
class Gtux_Model_Table_Subformulario extends Zend_Db_Table_Abstract
{
  protected $_name = 'subformularios';
  protected $_dependentTables = array('Gtux_Model_Table_Campo');
  protected $_referenceMap    = array(
    'Formulario'  => array(
      'columns'   => 'id_formulario',
      'refTableClass' => 'Gtux_Model_Table_Formulario',
      'refColumns'    => 'id_formulario',
      'onDelete'      => self::CASCADE,
      'onUpdate'      => self::CASCADE   
    ),
    'Usuario'        => array(
      'columns'       => 'id_user',
      'refTableClass' => 'Gtux_Model_Table_User',
      'refColumns'    => 'id_user',
      'onDelete'      => self::CASCADE,
      'onUpdate'      => self::CASCADE
    )   
  );
}

?>